package com.zby.ss.service.impl;

import com.zby.ss.vo.User;
import com.zby.ss.dao.UserDao;
import com.zby.ss.dao.impl.UserDaoImpl;
import com.zby.ss.service.UserService;

/**
 * Created By zby on 9:55 2019/2/14
 */

public class UserServiceImpl extends GenericServiceImpl<User> implements UserService {

    private UserDao userDao;

    public UserServiceImpl(UserDao userDao) {
        //给父类的实现类传参
        super(userDao);
        this.userDao = userDao;
    }

    public static void main(String[] args) {
        new UserServiceImpl(new UserDaoImpl());
    }
}
